<div class="pageContent">
	<form method="post" action="{:url('Company/doModify')}" class="pageForm" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="58">
			<div class="unit">
				<label>检车站名称:</label>
				<input type="text" name="company_name" size="20" maxlength="255" class="required" value="{$company_name}" />
			</div>


			<div class="unit">
				<label>企业LOGO:</label>
				{:widget('Upload/image', ['logo_url', $logo_url])}
			</div>
			<div class="unit"><label>&nbsp;</label>此处理检车站列表页logo；</div>
			<div class="unit"><label>&nbsp;</label>建议使用宽75像素-高75像素内图片；点击下方"提交"按钮后生效。</div>

			<div class="unit">
				<label>承检车型:</label>
                {volist name="vehicle" id="item"}
                <input type="checkbox" name="vehicle_ids[]" value="{$item.id}" class="required" {notempty name="$item.checked"}checked{/notempty} />{$item.title}
                {/volist}
			</div>
            <div class="unit">
                <label>营业开始时间：</label>
                <input name="start_time" type="text" class="date" datefmt="HH:mm" readonly="true" value="{$start_time}">
                <label>营业结束时间：</label>
                <input name="end_time" type="text" class="date" datefmt="HH:mm" readonly="true" value="{$end_time}">
            </div>
			<div class="unit">
				<label>企业电话:</label>
				<input type="text" name="telephone" size="20" maxlength="255" class="required" value="{$telephone}" placeholder="区号-固定电话"/>
			</div>

			<div class="unit">
				<label><span>企业地址:</span></label>
				<select class="combox" name="province" ref="w_combox_city" refUrl="{:url('Company/selectajax')}?id={value}" id="w_combox_stores" >
					<option value="">--全部--</option>
					{volist name="province" id="vo"}
					<option id="pro" value="{$vo.id}" {eq name="info.province" value="$vo.id"}selected{/eq}>{$vo.name}</option>
					{/volist}
				</select>
				<select class="combox" name="city" id="w_combox_city" ref="w_combox_region" refUrl="{:url('Company/selectajax')}?id={value}">
					<option value="">--全部--</option>
					{volist name="city|default=''" id="vo2"}
					<option id="cit" value="{$vo2.id}" {eq name="info.city" value="$vo2.id"}selected{/eq}>{$vo2.name}</option>
					{/volist}
				</select>
				<select class="combox" name="district" id="w_combox_region">
					<option value="">--全部--</option>
					{volist name="district|default=''" id="vo3"}
					<option id="reg" value="{$vo3.id}" {eq name="info.district" value="$vo3.id"}selected{/eq}>{$vo3.name}</option>
					{/volist}
				</select>

			</div>

			<div class="unit">
				<label>详细地址:</label>
				<input type="text" name="company_addr" size="20" maxlength="255" class="required" value="{$company_addr}"/>
			</div>

			<div class="unit">
				<label>提前提醒日期(天):</label>
				<input type="text" name="remind_day" size="20" maxlength="255" class="required" value="{$remind_day|default='0'}" />
			</div>

			<div class="unit">
				<label>企业负责人:</label>
				<input type="text" name="shop_leader" size="20" maxlength="255" class="required" value="{$shop_leader}" />
			</div>

			<div class="unit">
				<label>企业负责人联系方式:</label>
				<input type="text" name="shop_leader_phone" size="20" maxlength="255" class="required" value="{$shop_leader_phone}" placeholder="手机号码"/>
			</div>

			<div class="unit">
				<label>商家描述:</label>
                                <textarea name="company_desc" cols="70" rows="10">{$company_desc}</textarea>

			</div>

		</div>
		<input type="hidden" name="id" value="{$id}" />
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">提交</button>
						</div>
					</div>
				</li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>